home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / etc / init.d / 30_digitools < prev    next >
Text File  |  2006-06-21  |  445b  |  20 lines

  1. #!/bin/sh
  2. #
  3. # setup the Digimatrix
  4. #
  5. # runlevels: geexbox, debug
  6.  
  7. [ -f /proc/acpi/dsdt ] || exit 1
  8. [ `grep -e P4SQ -c /proc/acpi/dsdt` -eq 0 ] && exit 1
  9.  
  10. echo "### Setting up Digimatrix ###"
  11.  
  12. [ -x /usr/bin/digifan ] && digifan -g 5 -i
  13. [ -x /usr/bin/digipanel ] && digipanel -lts
  14. [ -x /usr/bin/digiradio ] && echo '' > /var/digimatrix
  15.  
  16. # PAL-I/SECAM requires tda9887 options for audio
  17. echo "options tda9887 port2=0" >> /etc/modprobe.conf
  18.  
  19. exit 0
  20.